<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p3_CSS常用值</title>
    <style>
        h1 {
            color: red;
            color: rgb(255, 0, 0);
            color: rgb(0, 255, 0);
            color: rgb(0, 0, 255);
            color: rgb(0, 0, 0);
            color: rgb(255, 255, 255);
            color: rgb(128, 128, 128);
            color: rgb(111, 12, 212);
            color: #f00;
            color: #fff;
            /*最后一个值代表透明度，越小越透明*/
            color: rgba(12, 112, 323, 0.6);
        }

        .d1 {
            width: 500px;
            height: 300px;
            background-image: linear-gradient(85deg, red, cyan)
        }

        .d2 {
            width: 500px;
            height: 100px;
            background-image: url("img/mr.png");
            background-size: 50px 100px;
            background-color: cyan;
        }

        .d3 {
            width: 500px;
            height: 300px;
            border: 5px solid;
            background-image: url("img/mr.png");
            background-repeat: no-repeat;
            background-position: 50px -10px;
            background-position: center;
            background-position: 100% 100%;
            background-position: 50% 50%;
        }
    </style>
</head>
<body>
<h1>测试颜色</h1>
<div class="d1"></div>
<div class="d2"></div>
<div class="d3"></div>
</body>
</html>